<?php
    session_start();
    echo '<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<script type="text/javascript" src="include/jquery.js"></script>
		<script type="text/javascript" src="include/functions.js"></script>
	</head>';
	
	
    
	include_once('styles/style.php');
	include_once('lang/lang.php');
	include_once('lang/'.$lang_file);
    include_once('include/db_config.php');
	include_once('include/functions.php');
    
    echo '<div class="div_right">';
	include_once('lang/lang_choose.php');
    include_once('styles/style_choose.php');
    include_once('login.php');
    echo '</div>';
	
	
	echo '<br /><br />';
    echo '<script type="text/javascript">
        var MSG_CONFIRM_DISCARD_CHANGES="'.$lang['MSG_CONFIRM_DISCARD_CHANGES'].'";
    </script>';
    
	dbConnect();
 	
	$action = 'vip';
	if(isset($_GET['action'])){
		$action = $_GET['action'];
	} 
    echo '<div style="float:left">';
	include_once('menu.php');
    echo '</div>
        
    <center class="fill">
        <div id="content" class="content">'; 
	switch ($action){
		case 'admin': include_once('admin/admin_disp.php'); break;
		case 'vip_t': include_once('vip_t/vip_t_disp.php'); break;
		case 'vip': include_once('vip/vip_disp.php'); break;
        case 'srv': include_once('srv/srv_disp.php'); break;
	}
	echo '</div></center>';
    
?>